package modelimplementation

import "salary/model"

type MailMethod struct {
	address string
}

func NewMailMethod(address string) *MailMethod {
	return &MailMethod{address: address}
}

func (mm *MailMethod) GetAddress() string {
	return mm.address
}

func (mm *MailMethod) Pay(pc model.PayCheck) {
	pc.SetFiled("Disposition", "Mail")
}

